package com.jstyle.jclifexd.view;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import com.jstyle.jclifexd.R;


/**
 * Created by Administrator on 2018/5/4.
 */

public class LoadingDialog extends JstyleDialog {


    public LoadingDialog(@NonNull Context context) {
        super(context);
    }

    public LoadingDialog(@NonNull Context context, int themeResId) {
        super(context, themeResId);
    }

    public LoadingDialog(@NonNull Context context, boolean cancelable, @Nullable OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
    }

    @Override
    protected void setContentView() {
        setContentView(R.layout.dialog_loading);
        init();
    }

    private void init() {
        setCancelable(false);
   //    initWidth(ScreenUtils.getScreenWidth(getContext()));
    //    initHeight(ScreenUtils.getScreenHeight(getContext()));
    }




}
